[POSTBOOT]Southern87 Postboot Tweak - Moto X Android Development

I created this file in 2012 for the EVO3D I had as a alternative to init.d scripts.
This is intended to create real performance. Not performance to create crazy benchmark numbers like done on the 3D forums before. For shiggles....I am getting 22k on AnTuTu Bench. This is a rough post as I just spent 4 hrs creating a biology study guide and I am quite tired.
*DISCLAIMER*
I AM NOT LIABLE FOR YOU JACKING THINGS UP
I have a ATT Moto X(XT1058). Rooted, unlocked, on 4.4.2....Still stock recovery. Though this should work on any Moto X.
Keep in mind this should be considered a beta as I tweak it for the Moto X and add things like I had done before.
Version 1.0
Initial Release for Moto X
Cleaned useless code from orginal that doesn't apply to our phone. Cpu 2 & 3 settings IE.
[Stock uses Interactive as the governor.
Changed settings used for the ramp up of the cpu under load
Changed settings to improve VM performance and battery life(supposedly)
Changed scheduler to noop and read ahead to 3072
Changed network settings to help optimize them
Optimized the EXT4 mounts.
Zip align files on boot - Checks them first
Installing this is quite simple...Just need to click a file in windows. That simple basicly.
Everything you need is there in one folder
No need to reboot into recovery.
Instructions
Download the zip file.
Extract the files to a folder.
Run the file Push.bat
Hit any key to keep going.
Let it reboot.
RESTORING
If you decide this is not for you...hey I got your 6.
Run the File named Restore.bat and it will replace the old postboot for you and reboot.
To Do:
Tweak Current settings and add new
Create a flashable zip
Add user customization

Sweet will test it out tommorw! Could we get some further details at exactly what if changes and tweaks? Or is that in the download
Sent from my Nexus 7 using Tapatalk

Yeah I will today. Sorry wasn't exactly awake.
The batch file is for those who still have stock recovery but rooted and unlocked or write protection disabled.
If you get a read only error pushing the files to the phone then your kernel isn't insecure. If you get the error just close the command prompt screen.
If you have a stock kernel then you need a app like adbd insecure. Buy or aquire it, lol, and check the option in the settings. It will pop up a window saying patching. Then run the push.bat file.
Custom kernels shouldn't be a problem lol. If so then who made it is stupid.
When I make the flashable zip then you won't need a app and such.
Sent from my XT1058 using xda app-developers app

southern87 said:
Yeah I will today. Sorry wasn't exactly awake.
The batch file is for those who still have stock recovery but rooted and unlocked or write protection disabled.
If you get a read only error pushing the files to the phone then your kernel isn't insecure. If you get the error just close the command prompt screen.
If you have a stock kernel then you need a app like adbd insecure. Buy or aquire it, lol, and check the option in the settings. It will pop up a window saying patching. Then run the push.bat file.
Custom kernels shouldn't be a problem lol. If so then who made it is stupid.
When I make the flashable zip then you won't need a app and such.
Sent from my XT1058 using xda app-developers app
Click to expand...
Click to collapse
Hi Southern,
Thanks for your time and effort. I have ran your tool and received an error. I have a Dev Edition Moto X with custom recovery and Eclipse (Blur based 4.4.2) Rom. Please take a look at the attached pic.
thanks

hryusha said:
Hi Southern,
Thanks for your time and effort. I have ran your tool and received an error. I have a Dev Edition Moto X with custom recovery and Eclipse (Blur based 4.4.2) Rom. Please take a look at the attached pic.
thanks
Click to expand...
Click to collapse
Install this. Your kernel is not unsecure. This will allow you to push and pull system files via adb.
http://forum.xda-developers.com/showthread.php?t=1687590
About to add the flashable zip if you want to flash it instead.

southern87 said:
Install this. Your kernel is not unsecure. This will allow you to push and pull system files via adb.
http://forum.xda-developers.com/showthread.php?t=1687590
About to add the flashable zip if you want to flash it instead.
Click to expand...
Click to collapse
Thanks! I will just wait for the flashable file, but will still download the above file just in case.
---------- Post added at 12:23 PM ---------- Previous post was at 12:16 PM ----------
Tried the flashable version and it failed. I am using TWRP 2.7 if that helps at all.
I will now try the file you suggested 2 posts above and the usual windows method.

hryusha said:
Thanks! I will just wait for the flashable file, but will still download the above file just in case.
---------- Post added at 12:23 PM ---------- Previous post was at 12:16 PM ----------
Tried the flashable version and it failed. I am using TWRP 2.7 if that helps at all.
I will now try the file you suggested 2 posts above and the usual windows method.
Click to expand...
Click to collapse
I took it down. I just looked at it and realized I got ahead of myself on the updater-script. I need to flash a recovery anyways, just hadn't had time.
but yeah if you install that app, it will let you run the batch.

southern87 said:
I took it down. I just looked at it and realized I got ahead of myself on the updater-script. I need to flash a recovery anyways, just hadn't had time.
but yeah if you install that app, it will let you run the batch.
Click to expand...
Click to collapse
Ok NP, I will try the other method and will get back to you with my findings.
---------- Post added at 12:38 PM ---------- Previous post was at 12:32 PM ----------
Everything went smooth (with the windows cmd process), phone is now restarting. I will monitor how my battery life is today and will report with my findings.

hryusha said:
Ok NP, I will try the other method and will get back to you with my findings.
---------- Post added at 12:38 PM ---------- Previous post was at 12:32 PM ----------
Everything went smooth (with the windows cmd process), phone is now restarting. I will monitor how my battery life is today and will report with my findings.
Click to expand...
Click to collapse
good deal. Maybe 2.7 doesn't play well with the X. I don't think its officially suppported. Everything I try to do gives me the same error while flashing.

southern87 said:
good deal. Maybe 2.7 doesn't play well with the X. I don't think its officially suppported. Everything I try to do gives me the same error while flashing.
Click to expand...
Click to collapse
Just FYI, 2.7 works well with all the other flashing I had to do.... Eclipse rom as well as some random additions i had to flash via the recovery, all went without an issue. I did see that 2.6.3 is the only one in the Moto X forum though.

hryusha said:
Just FYI, 2.7 works well with all the other flashing I had to do.... Eclipse rom as well as some random additions i had to flash via the recovery, all went without an issue. I did see that 2.6.3 is the only one in the Moto X forum though.
Click to expand...
Click to collapse
I figured.

No versions of TWRP are "officially" supported.
2.7 works without issue for me -- the dev (I believe its dhacker) just didn't bother making a thread for it

ahh I see. I always had HTC devices so wasn''t really a issue.
From what I read KitKat changed some stuff to do with the updater-scripts. I was starting to get pissed with this lol.
Going to add it to the OP in a second.

Hi Southern...
What is Moto Z in your signature? Which device is it?

kenosis said:
Hi Southern...
What is Moto Z in your signature? Which device is it?
Click to expand...
Click to collapse
It's supposed to be a x. Sorry hahaha
Sent from my XT1058 using xda app-developers app

Initial findings.
Ds battery monitor disabled, but I think it still is still running.
Adm check box 1 unchecked, Google now disabled. Used app ops to disable some gps permissions.
Beats music kills the data on high quality haha. Like 600 megs
Sent from my XT1058 using xda app-developers app

how can I know whether installation is successful or not successful?

kenosis said:
how can I know whether installation is successful or not successful?
Click to expand...
Click to collapse
If you go to system/etc/ and find the post boot it will be like 6 or 7kb in size as the original is 20.
That or use adb to pull it from a phone after you install it.
Sent from my XT1058 using xda app-developers app

southern87 said:
If you go to system/etc/ and find the post boot it will be like 6 or 7kb in size as the original is 20.
That or use adb to pull it from a phone after you install it.
Sent from my XT1058 using xda app-developers app
Click to expand...
Click to collapse
failed to move zipalign and int.qcom.post.boot.sh to folders.

I didn't change or screen said failed? Read only? Or did you use the flashable zip?
If it's read only error it'd saying. Your kernel isn't unsecure. There is a link to a app that can fix it. It's temporary unless you set it to start at boot.
It allows you to push and pull system files via adb.
Flashing isn't affected by this
Sent from my XT1058 using xda app-developers app

Related

battery percentage for ICS 4.0.4

For ICS 4.0.4 here is two mods battery percentage(circle and rectangular);instructions:
copy systemUI in system/app with permision RW-R-R and then reboot.
Your phone must be rooted.
PS:systemUI is for circle and systemUI(R) is for rectangular;if use rectangular delete(R) the files must be systemUI.
UPDATE:new mod named android is systemui(A)
Thank You !
What the SystemUI(R) ?
i can't change permission for this file, it say file system do not allow permission changes
---------- Post added at 10:27 PM ---------- Previous post was at 10:14 PM ----------
nmv i got it
How can I root my device to use it ??
That rectangular battery is awesome. Looks like it was part of the update!
wssherbiny said:
How can I root my device to use it ??
Click to expand...
Click to collapse
If you can root your phone try this :http://forum.xda-developers.com/showthread.php?t=1723610&page=26
Thanks. The (R) one looks grea t:good:
I prefer battery stock icon with percentage above ? anyone helps ?
Many tkssssssss
Sent from my LT26i using Tapatalk 2
damn was looking just for this, many thanks man!
how can i change permission for this file ???
fantasyduc said:
how can i change permission for this file ???
Click to expand...
Click to collapse
First your phone must be rooted and then with root explorer or else and choose R/W.
umarian said:
First your phone must be rooted and then with root explorer or else and choose R/W.
Click to expand...
Click to collapse
don it with the rom toolbox, -> long press the file, go on "permissions" and set it up... very easy
umarian said:
First your phone must be rooted and then with root explorer or else and choose R/W.
Click to expand...
Click to collapse
i do it and it say permissions cannot be change because the file system is read only
fantasyduc said:
i do it and it say permissions cannot be change because the file system is read only
Click to expand...
Click to collapse
I sent a pm to explain.
Oddly enough when running this, from time to time it will revert back to the stock battery, then back to the modded one.
When I tried skyfir123 versions in his thread it doesn't do that.
Can you fix that? Cause I much prefer the R version you have to anything else.
bustervic said:
Oddly enough when running this, from time to time it will revert back to the stock battery, then back to the modded one.
When I tried skyfir123 versions in his thread it doesn't do that.
Can you fix that? Cause I much prefer the R version you have to anything else.
Click to expand...
Click to collapse
I thing(maybe i am wrong) this happen because method of root;for me it work good.How instal for me:
I instal 4.0.4 with flastool(TWICE)
For root follow next step:
0.Copy in your phone superuser-3.0.7-efgi-signed.
1.Download recovery-nozomi.img from here: http://forum.xda-developers.com/show....php?t=1596285
2.Flash the recovery-nozomi.img with next comand: fastboot flash boot recovery-nozomi.img
3.Enter in recovery(push volume down) and instal superuser-3.0.7-efgi-signed.
4.Turn off phone.
5.flash the kernel.sin with next comand:fastboot flash boot kernel.sin
6.Reboot and your phone is rooted.
PS:sorry for my bad english and this method it work for bootloader unlocked.
PS2:in recovery mode if superuser aborted enter in advanced menu and check fix permission.
Thanks.
My first mod on ics
Sent from my Transformer TF101 using XDA Premium App
Hmm, well I did follow the step by step rooting myself (before the pre rooted img was up)
http://forum.xda-developers.com/showpost.php?p=27692994&postcount=1
Everything else was fine. I suppose I could try the pre-rooted version w/o a wipe and see if it improves anything.
Does the same for me too

Unable to install any AOSP base rom

I've ran into similar issues before with cyanogenmod involving a "getprop" error but I am now receiving the error for any AOSP rom I attempt to install including AOKP and Hellybean. Samsung base roms are installing fine for some reason though. As far as Cyanogenmod is concerned I thought the issue may have been the kernel/ recovery... I have tried everything I know to do and to no avail. In past times I received this error installing CM so I used ODIN to return to stock but I would rather not have to do that if not neccesary. Thanks for reading.
Hammersuit said:
I've ran into similar issues before with cyanogenmod involving a "getprop" error but I am now receiving the error for any AOSP rom I attempt to install including AOKP and Hellybean. Samsung base roms are installing fine for some reason though. As far as Cyanogenmod is concerned I thought the issue may have been the kernel/ recovery... I have tried everything I know to do and to no avail. In past times I received this error installing CM so I used ODIN to return to stock but I would rather not have to do that if not neccesary. Thanks for reading.
Click to expand...
Click to collapse
Did you try flashing ktoonsez's siyah 4.3.3? That usually fixes the getprop error (otherwise known as status 7)
Sent from my Zanpakuto using Getsuga Tensho!
Nick281051 said:
Did you try flashing ktoonsez's siyah 4.3.3? That usually fixes the getprop error (otherwise known as status 7)
Sent from my Zanpakuto using Getsuga Tensho!
Click to expand...
Click to collapse
No, I haven't and I was unaware of that. Thank you though, I will try that now.
I am still receiving a status 7 error when I attempt to install CM10.1 (latest build) with Siyah kernel installed. Is there anything I am missing?
edit* Latest Task's AOKP successfully installed, however under no circumstances will CM10 install....
Hammersuit said:
I am still receiving a status 7 error when I attempt to install CM10.1 (latest build) with Siyah kernel installed. Is there anything I am missing?
edit* Latest Task's AOKP successfully installed, however under no circumstances will CM10 install....
Click to expand...
Click to collapse
necessary flash the stock after ODIN, then flash the kernel Siyah and not using flash Triangle avaey!-flash what you want!!!
good luck!
AlmasSD said:
necessary flash the stock after ODIN, then flash the kernel Siyah and not using flash Triangle avaey!-flash what you want!!!
good luck!
Click to expand...
Click to collapse
Unless you're going to give the right advice please don't give people advice.
Sent from my Zanpakuto using Getsuga Tensho!
Nick281051 said:
Unless you're going to give the right advice please don't give people advice.
Sent from my Zanpakuto using Getsuga Tensho!
Click to expand...
Click to collapse
This. Also maybe make it a little easier to understand haha.
I wish I had a little more input myself to describe what i've done but i'm a bit of a flashaholic and i've had so many roms I can't remember.... but I will say that once I reinstalled to AOKP I downloaded CWM-based recovery (most recent) from ROM manager (yes I know its garbage) because I thought that having that recovery would allow for the install, but to no avail. I currently have AOKP installed now (latest task release) but I really would prefer CM10...
Also, when I installed CWM-base recovery from rom manger I noticed that from my available recovery list it mentioned TWRP... is there any chance that TWRP remnants could remain from a previous rom install? (I full wipe every install)
Easiest is to just modify the buildprop and you wont have that issue of status 7
lilbigdude1 said:
Easiest is to just modify the buildprop and you wont have that issue of status 7
Click to expand...
Click to collapse
I've tried to do that and I could not save the changes... Can I do that using ES file explorer? or is there a better alternative?
Hammersuit said:
I've tried to do that and I could not save the changes... Can I do that using ES file explorer? or is there a better alternative?
Click to expand...
Click to collapse
You probably didn't enable the root option . Which you would need to make changes to the system.
Hammersuit said:
I've tried to do that and I could not save the changes... Can I do that using ES file explorer? or is there a better alternative?
Click to expand...
Click to collapse
I use root explorer
---------- Post added at 01:07 PM ---------- Previous post was at 01:05 PM ----------
Hammersuit said:
I've tried to do that and I could not save the changes... Can I do that using ES file explorer? or is there a better alternative?
Click to expand...
Click to collapse
Also make sure you use the editor and not the viewer
Ahh thank you all, I appreciate your replies, i'll try and edit the build.prop as mention .. I had completely forgotten about root helper!
I have attempted to rename the ro.product.device. and the ro.device.name (i believe they are called) to "SGH-i777" and simply "i777" but to avail... I still cannot get CM10.1 to install....
Hammersuit said:
I have attempted to rename the ro.product.device. and the ro.device.name (i believe they are called) to "SGH-i777" and simply "i777" but to avail... I still cannot get CM10.1 to install....
Click to expand...
Click to collapse
When I get this error, I just open the updater-script in the ROM zip and edit it. Delete the asserts for get.prop and you're good.
I777(S2)
Captivating M3
UCLE5
AJK 1.49
Shawn said:
When I get this error, I just open the updater-script in the ROM zip and edit it. Delete the asserts for get.prop and you're good.
I777(S2)
Captivating M3
UCLE5
AJK 1.49
Click to expand...
Click to collapse
Is the updater script you're referring to a different file aside from the build.prop? If so what is the file directory?
Hammersuit said:
Is the updater script you're referring to a different file aside from the build.prop? If so what is the file directory?
Click to expand...
Click to collapse
It's in META-INF\com\google\android. Then just open the updater-script file and delete the assert for get.prop lines and save.
Hammersuit said:
Is the updater script you're referring to a different file aside from the build.prop? If so what is the file directory?
Click to expand...
Click to collapse
Artm03 gave you the correct information you need!!!! I will add it it will be better if you have the zip file on your computer and edit it then move it to your phone. Just open the zip (don't extract it) edit the updater script as artm03 told you. Make sure you delete all 3 lines, so your first line will start with "mount"...... GL
snipe2nite said:
Artm03 gave you the correct information you need!!!! I will add it it will be better if you have the zip file on your computer and edit it then move it to your phone. Just open the zip (don't extract it) edit the updater script as artm03 told you. Make sure you delete all 3 lines, so your first line will start with "mount"...... GL
Click to expand...
Click to collapse
If a computer is not available, one could use the app "Total Commander" from the Play Store to edit and repack the updater script all on the phone.
Just navigate to the script inside the zip file, long press it, and select "unzip+edit". Open it up, and remove the assert lines as stated above. Hit save, then the back button and you'll be prompted to "repack" the changed file back into the zip file. It will take around half a minute to repack, then is ready for flashing.
BE CAREFUL to flash the correct zip for the i777, as the script assert that prevents this from happening is what this process removes.
Thank you all for your replies! I haven't been able to install yet because i've been very busy, I will be sure to confirm whether or not i've succeeded tonight though. Just out of curiosity, does anyone know why I would only have this issue installing Cyanogenmod? (I also could not install hellybean, but I know it is built from CM sources as well) I have had this problem many times before (bought this phone the day it came out) with Jellybean, Icecream Sandwich and even Gingerbread builds of CM, but as I stated earlier I was able to use ODIN to restore to stock, reinstall custom recovery, and install from there. This of course is a much longer and tedious process that includes the need for TriangleAway as well because your custom binary count increases...

[MOD][ROOT]Native Wireless Tether for build 19.6.3

NEITHER MYSELF NOR XDA ARE RESPONSIBLE FOR YOUR PHONE. FLASH AT YOUR OWN RISK​
1. Download Root Explorer by Jrummy in the Play store.
2. Download the tether zip attached to this post.
3. Go into Root Explorer and find System folder, find priv-app, inside priv-app long press VZWEntitlementServices.apk and VZWEntitlementServices.odex rename to VZWEntitlementServices.apk.bak and VZWEntitlementServices.odex.bak and back out to first folder.
4. Go to sdcard folder, download and find tether.zip that you downloaded from step 2. Extract the build.prop, copy it and back out to the home folder. enter the system folder. Rename the build.prop that is there to build.prop.bak, then paste the one you extracted from the zip.
5. Long press on the file and hit permissions in the menu. change permissions Owner: Read/Write, Group:Read, Others: Read (should show rw-r--r--)
6. Exit out of root explorer
7. Reboot
8. Check the tether it should work.
9. PROFIT! Thank baby jesus and buy me a beer lol
Topsnake said:
I TAKE NO RESPONSIBILITY FOR YOUR PHONE OR ANY DAMAGE INCURRED FROM APPLYING THIS.
Prerequisites:
Rooted Maxx/Ultra on Kit Kat 19.6.3
You will not be able to do this on stock phones. If you are on Kit Kat 19.6.3 and are stock, there is currently no way to root it.
1. Download Root Explorer by Jrummy in the Play store.
2. Download the tether zip attached to this post.
3. Go into Root Explorer and find System folder, find priv-app, inside priv-app long press VZWEntitlementServices.apk and VZWEntitlementServices.odex rename to VZWEntitlementServices.apk.bak and VZWEntitlementServices.odex.bak and back out to first folder.
4. Go to sdcard folder, download and find tether.zip that you downloaded from step 2. Extract the build.prop, copy it and back out to the home folder. enter the system folder. Delete the build.prop that is there, then paste the one you extracted from the zip.
5. Long press on the file and hit permissions in the menu. change permissions Owner: Read/Write, Group:Read, Others: Read (should show rw-r--r--)
6. Exit out of root explorer
7. Reboot
8. Check the tether it should work.
9. PROFIT! Thank baby jesus and buy me a beer lol
10. Donations are appreciated to TopSnake
Click to expand...
Click to collapse
Any reason why we shouldn't use the Native Tether for Kit Kat 19.5.3 ?? its working fine here on 19.6.3
Jimmy8881 said:
Any reason why we shouldn't use the Native Tether for Kit Kat 19.5.3 ?? its working fine here on 19.6.3
Click to expand...
Click to collapse
Not really. This is just for those that have yet to apply the 19.5.3 Tether. Its also a slightly more simple method.
This is beautiful! Thank you Topsnake so very much!!!
SupremeOverlord said:
This is beautiful! Thank you Topsnake so very much!!!
Click to expand...
Click to collapse
No problem!
Droid Maxx "Developer Edition"
I did this and now my phone turns on and goes to a black screen. Any ideas? I see the unlocked bootloader then it goes black
smooth781 said:
I did this and now my phone turns on and goes to a black screen. Any ideas? I see the unlocked bootloader then it goes black
Click to expand...
Click to collapse
Likely you borked something with the build prop. Did you make a back up before you tried this?
Sent From Droid Ultra
If I helped you, consider hitting thanks.
no of course I was too lazy to do this.I have never had any problems with these things before. I know the phone is on I have it hook to my computer but I have no picture
---------- Post added at 09:34 PM ---------- Previous post was at 09:25 PM ----------
smooth781 said:
no of course I was too lazy to do this.I have never had any problems with these things before. I know the phone is on I have it hook to my computer but I have no picture
Click to expand...
Click to collapse
I did get twrp reinstalled but it does not seem to do much. I can get into it
smooth781 said:
no of course I was too lazy to do this.I have never had any problems with these things before. I know the phone is on I have it hook to my computer but I have no picture
---------- Post added at 09:34 PM ---------- Previous post was at 09:25 PM ----------
I did get twrp reinstalled but it does not seem to do much. I can get into it
Click to expand...
Click to collapse
You need to fxz with save data. You know how to do that I'm sure?
Sent From Droid Ultra
If I helped you, consider hitting thanks.
Caseyk621 said:
You need to fxz with save data. You know how to do that I'm sure?
Sent From Droid Ultra
If I helped you, consider hitting thanks.
Click to expand...
Click to collapse
No I know nothing about it. can you point me in the direction please
smooth781 said:
No I know nothing about it. can you point me in the direction please
Click to expand...
Click to collapse
You know how to use adb and fastboot right. You likely used fastboot to flash TWRP.
Sent From Droid Ultra
If I helped you, consider hitting thanks.
smooth781 said:
No I know nothing about it. can you point me in the direction please
Click to expand...
Click to collapse
I think im doing the right thing to get this working. I am downloading the latest firmware from the fxz people. 800 meg. I am just not sure 100% what to do with it after I get it
Download fxz from here. Extract. Open command prompt in the folder that you extracted to, the one that contains system.img. Then type the command:
fastboot flash system system.img
That should get you back up and running. Then for WiFi tether use this xposed module. (Easier to apply easier to revert for future OTA.)
http://repo.xposed.info/module/com.dym.motoxtether
Sent From Droid Ultra
If I helped you, consider hitting thanks.
---------- Post added at 10:00 PM ---------- Previous post was at 09:59 PM ----------
smooth781 said:
I think im doing the right thing to get this working. I am downloading the latest firmware from the fxz people. 800 meg. I am just not sure 100% what to do with it after I get it
Click to expand...
Click to collapse
Yeah that's the idea!
Sent From Droid Ultra
If I helped you, consider hitting thanks.
I thought everything was going good then I got an error
bootloader sparse image is malformatted
then
remote failure
---------- Post added at 10:12 PM ---------- Previous post was at 10:10 PM ----------
I also saw at the beginning bootloader variable not supported
I aslo just tried the mfastboot command and so far it is going forward. We will see
smooth781 said:
I thought everything was going good then I got an error
bootloader sparse image is malformatted
then
remote failure
---------- Post added at 10:12 PM ---------- Previous post was at 10:10 PM ----------
I also saw at the beginning bootloader variable not supported
I aslo just tried the mfastboot command and so far it is going forward. We will see
Click to expand...
Click to collapse
Crap. Try using mfastboot. Get from here
http://dottech.org/146758/how-to-root-moto-x-on-android-4-4-kitkat-and-flash-twrp-recovery-guide/
Sent From Droid Ultra
If I helped you, consider hitting thanks.
and my phone just booted up. Thanks for pointing me in the right direction. I could not have done it with out help.
smooth781 said:
and my phone just booted up. Thanks for pointing me in the right direction. I could not have done it with out help.
Click to expand...
Click to collapse
What'd you do to get it working?
Sent From Droid Ultra
If I helped you, consider hitting thanks.
Caseyk621 said:
What'd you do to get it working?
Sent From Droid Ultra
If I helped you, consider hitting thanks.
Click to expand...
Click to collapse
When I used the mfastboot instead of fastboot it took right off. I am updating the apps right now on my phone then I will try the wifi you linked above.
smooth781 said:
When I used the mfastboot instead of fastboot it took right off. I am updating the apps right now on my phone then I will try the wifi you linked above.
Click to expand...
Click to collapse
Cool. Glad you got it working. Yeah I'm using the xposed for WiFi tether. Working just fine.
Sent From Droid Ultra
If I helped you, consider hitting thanks.
For those that are now rooted on 19.6.3 remember this exploit
Droid Maxx "Developer Edition"

[20141215] Unofficial CM12 untested build, un as in NOT.

Use at your own risk - untested
I am not responsible for bricked devices.
Back up before doing anything
Compiled using the following device tree: https://github.com/CyanogenMod/android_device_sony_z3c
Working:
Nothing, as far as I am concerned which is why you should use at your own risk.
Not Working:
Everything, as far as I am concerned which is why you should use at your own risk.
UPDATED - File: See Post Update Below | [md5] 4889d4bad5b07326c530ccc9e575acd1
If you do not know what to do with it you should do nothing.
The commands I used to make zip package was:
Code:
. build/envsetup.sh
lunch
make bacon
(Brunch and Breakfast are for official devices only, I believe)
NOTE:
No more errors when extracting proprietary files.
Thank you to Kali- and chirayudesai for setting up device tree at: android_device_sony_z3c
And, thank you to the people who spared the time in correcting my silly mistakes, and for responding to my even sillier questions.
When i select choose form sdcard1 from main recovery menu, i get a wiping cache messages, and then it reverts back to the main screen, same when selecting internal storage.
When using TWRP from a different fasbooted kernel (AndroPlus Kernel for Stock FW / ROM), i get status 7.
Cheers
delect first sentence in update script leads to success of flashing this rom,it boots up,with animation,but when screen shows starting applications then it reboots,cannot enter the system.
spida_singh said:
When i select choose form sdcard1 from main recovery menu, i get a wiping cache messages, and then it reverts back to the main screen, same when selecting internal storage.
When using TWRP from a different fasbooted kernel (AndroPlus Kernel for Stock FW / ROM), i get status 7.
Cheers
Click to expand...
Click to collapse
Did you try flashing with CWM-Based Recovery 6.0.4.7 by DooMLoRD?
jsscx said:
delect first sentence in update script leads to success of flashing this rom,it boots up,with animation,but when screen shows starting applications then it reboots,cannot enter the system.
Click to expand...
Click to collapse
Thank you both for your feedback
Recompiled with repo sync
Updated: http://review.cyanogenmod.org/#/q/status:merged+project:CyanogenMod/android_device_sony_z3c,n,z
No more errors when extracting proprietary files.
Did not touch updater script, though, so you find yourself with the same issues.
For those who do not know how to download from free file host servers:
I use Ad block so did not come with any issues, also never had a problem before today with go4up.
Mod edit
why the installer file is .exe to be download, is there any mirror / direct link to download and test this CM12 by .zip file, exe format may sound confusing and i am not comfortable to download it, i am keen to try, thanks.
the site u chose is full of apps crap,which caused many issues yesterday,though it's fast?
---------- Post added at 06:59 PM ---------- Previous post was at 06:52 PM ----------
edcarsky said:
why the installer file is .exe to be download, is there any mirror / direct link to download and test this CM12 by .zip file, exe format may sound confusing and i am not comfortable to download it, i am keen to try, thanks.
Click to expand...
Click to collapse
DONT install it ,click the address below the big download icon,yeah this site is sick,full of fcking apps
MOD please delete thread as I have created devDB project instead.
Thank you
edcarsky said:
why the installer file is .exe to be download, is there any mirror / direct link to download and test this CM12 by .zip file, exe format may sound confusing and i am not comfortable to download it, i am keen to try, thanks.
Click to expand...
Click to collapse
jsscx said:
the site u chose is full of apps crap,which caused many issues yesterday,though it's fast?
---------- Post added at 06:59 PM ---------- Previous post was at 06:52 PM ----------
DONT install it ,click the address below the big download icon,yeah this site is sick,full of fcking apps
Click to expand...
Click to collapse
Uploading file directly on xda: http://forum.xda-developers.com/devdb/project/?id=7198#downloads
No more hosting issues
Thread closed
Thread closed per OP's request.
The new thread can be found here.
Thread closed

[MOD][INIT.D] init.d support for MIUIv6 (all variants)

Good day everybody!
Today I want to share with you the flashable ZIP I made to enable init.d support in our phones. Root not required!
Works for every MIUIv6 variant (including dev ones) and probably for MIUIv5 and many other phones and ROMs, although I can't confirm (the process is very similar in many phones, so I think it should work in EVERY kitkat-based ROM - and maybe in JB/LP ones).
WHAT IS INIT.D?
Google is your friend. If you don't know what init.d is you probably don't need it.
HOW IT WORKS
It checks at boot time if there are executable files in /data/init.d and executes them in lexical order. Files with executable flag unset will not be executed.
OK, but why init.d in /data?
Because every system update erases /system partition, which in turn would erase every init.d script you made or installed. Placing them in /data ensures OTA survival.
It is similar to CyanogenMod's userinit feature.
The standard directory /system/etc/init.d is created as a symlink to /data/init.d to make init.d-aware apps work without ever noticing the difference.
Features of this mod
I have included an example init.d file which creates a test file (useful to see if it works, see below)
If you never wrote init scripts, that can be used as a simple template to begin.
This mod doesn't alter the kernel in any way, so it's pretty safe to install.
HOW TO INSTALL
Requirements
CWM/TWRP recovery
BusyBox (MIUI has it out of the box)
Any KK-based ROM (maybe works on other versions too but I can't be sure about that, just try)
Instructions
Just flash this in recovery and you're all set. I flash it every week alongside MIUIv6 weekly update.
How to theck if it works
After install (and a reboot), navigate to /data/local/tmp. If you find the file init.d-test.txt, then init.d support is installed and active
CREDITS
@udda90
I tried to flash your file on my redmi note 3g with the latest miui V6 developer version and it gives me error. I am using twrp recovery.
Have you any idea what is going on?
Sent from my HM NOTE 1W using XDA Free mobile app
davorzilic said:
I tried to flash your file on my redmi note 3g with the latest miui V6 developer version and it gives me error. I am using twrp recovery.
Have you any idea what is going on?
Sent from my HM NOTE 1W using XDA Free mobile app
Click to expand...
Click to collapse
The only thing that comes to my mind is that you could have ZIP signature checking enabled. My ZIP is not signed so it will not install unless you disable it. (signature checking is a good thing, for example it keeps you from installing corrupted ROMs. Disable it only for this time.)
But I can be wrong, you told me nothing about the error you have experienced in your device. What kind of error are you seeing? Copy it here so I can be more helpful Also attach recovery.log if you can.
Thanks for very fast answer. I appreciate your efforts.
I didn't use zip verification option.
I have photographed error message in twrp so I uploading that photo.
If you have any suggestion please let me know.
Sent from my HM NOTE 1W using XDA Free mobile app
davorzilic said:
Thanks for very fast answer. I appreciate your efforts.
I didn't use zip verification option.
I have photographed error message in twrp so I uploading that photo.
If you have any suggestion please let me know.
Sent from my HM NOTE 1W using XDA Free mobile app
Click to expand...
Click to collapse
Try unmounting data and system before installing. I've heard of people solved this way, also MIUI updates sometime fail because of this.
If this won't work, would you mind to send me recovery.log? TWRP creates it in /tmp after an install. It contains exact error code and text.
If you have ADB installed in your PC you can get it by typing in terminal:
Code:
adb pull /tmp/recovery.log
(In your device that file may be named or placed differently. Search for it )
I didn't try unmouting system and data, but I found twrp log. How can I send this log file to you?
Sent from my HM NOTE 1W using XDA Free mobile app
You can attach it to a reply, or you can use a service like pastebin and write the link here, or if it's short you can write it here directly.
Log from twrp
udda90 said:
You can attach it to a reply, or you can use a service like pastebin and write the link here, or if it's short you can write it here directly.
Click to expand...
Click to collapse
Here is the log, I needed a PC to upload it.
Thanks
davorzilic said:
Here is the log, I needed a PC to upload it.
Thanks
Click to expand...
Click to collapse
OK I figured out. ZIP fails because of different partition layout between note 3G and note 4G (I tested on 4G), so it cannot mount /data and /system properly. I am writing a new ZIP that should work for you, will be ready in minutes please stay here!
If it works for you I will replace it in the first post.
Updated ZIP
@davorzilic try that. Let me know if it works!
Just to be sure, first unmount data and system.
Thanks, I will try as soon as possible. I wasn't be online since yesterday.
Sent from my HM NOTE 1W using XDA Free mobile app
---------- Post added at 11:34 AM ---------- Previous post was at 10:40 AM ----------
Still the same error message. But maybe I don't know how to unmount data and system. Twrp only give me option to mount not to unmount. I just unchecked the system and data.
Sent from my HM NOTE 1W using XDA Free mobile app
Yes that's the correct way to unmount. Please could you send me again your recovery.log? It would give me useful directions.

Categories

Resources