• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Enhanced init.d/simulated run levels

Can i flash these over the ones i already flashed or should i restore nandroid and then flash?

Theses won't hurt anything to flash over.

The room side is the same except for one word in a file that it will overwrite. The other flashes the exhort image into that partition overwriting what was there.

Sent from my VS920 4G using Tapatalk 2
 
Did it again with new files... Time stamp still in the 70s

wth?

I just tried this a couple times before I posted those files...

In recovery, can you adb shell in and do the following?

cat /cache/timemachine

and see if it prints the date/time when you rebooted

if it does...

echo $(date) and see if it echoes that same date/time

if it doesn't then do

sh /sbin/set_recovery_time.sh

Then do echo $(date) again and see if it echoes right.



remember though, after flashing these... you have to boot into your rom once and reboot to recovery before you'll see an effect.
 
Don't really know what "adb shell in" means nor do I have time to research it right now. Flashed files all over again this morning and backups' default naming is unchanged. 1970's.

What I'm doing: reboot recovery, flash 1st file, reboot rom, reboot recovery, flash second rom, reboot recovery (as per instructions on screen when file finishes flashing), reboot rom, reboot recovery, backup(tar). Reboot rom, check file name with solid explorer.
 
Don't really know what "adb shell in" means nor do I have time to research it right now. Flashed files all over again this morning and backups' default naming is unchanged. 1970's.

What I'm doing: reboot recovery, flash 1st file, reboot rom, reboot recovery, flash second rom, reboot recovery (as per instructions on screen when file finishes flashing), reboot rom, reboot recovery, backup(tar). Reboot rom, check file name with solid explorer.

Yeah... I figured out what was going on. Trying to fix it right now.

While i was testing, I'd get the correct file made once (maybe by hand)... but I never made anything clean up after itself. So it just kept setting off that file. While testing, I'd reboot a couple times pretty quickly, so it was looking like it worked fine. Turns out that it wasn't.

I'll have working sets a bit later. Right now I'm abusing the hell out of my phone with reboots and flashes trying to make this thing work like expected.
 
Alright... I've rebooted about 100 times in the last hour. These files worked successfully after flashing then rebooting multiple times.

Key note: This mod is configured now to only work the first time enter recovery after using "reboot to recovery" from within your power menu. After that, it renames the timemachine file in /cache to timemachine.old then the next time you boot into your rom that file is deleted.

Unforutnately, the way that I'm hooking the reboot property for the recovery doesn't seem to set when you issue adb reboot recovery, so this wont trigger anything to set the time. Sorry.


Enhanced Init.d, V6, and backlight disable


*edit* don't flash the recovery posted before... it was missing the image for some odd reason.



For the couple people that seem to be using these... sorry for the hassle. They should be right this time.
 
Alright... I've rebooted about 100 times in the last hour. These files worked successfully after flashing then rebooting multiple times.

Key note: This mod is configured now to only work the first time enter recovery after using "reboot to recovery" from within your power menu. After that, it renames the timemachine file in /cache to timemachine.old then the next time you boot into your rom that file is deleted.

Unforutnately, the way that I'm hooking the reboot property for the recovery doesn't seem to set when you issue adb reboot recovery, so this wont trigger anything to set the time. Sorry.


Enhanced Init.d, V6, and backlight disable


*edit* don't flash the recovery posted before... it was missing the image for some odd reason.



For the couple people that seem to be using these... sorry for the hassle. They should be right this time.
First of all... THANK YOU FOR ALL YOUR HARD WORK ON THIS!!!

I finally got a few minutes (@ 1:40am) to help troubleshoot and I see you've started without me. :)

The only thing is that the "Enhanced Init.d, V6, and backlight disable" file in link in the post I quoted above is missing. I'm assuming it's different from the one in the OP.
 
Unless I screwed up, this does not have a recovery image in it.

Are you sure? I uploaded one in the previous post that didnt. It was liek 200kb. The one in the post you quoted shows as just under 6mb and it should have the recovery image. You can open the zip and see that it's there.

I double checked the script in the zip META-INF/com/google/android/update-script (in case you want to look at it) and the file name looked like it matched. If it doesn't you could extract that file, edit it, and toss it back in the zip to fix it.

You could also try extracting the image in the root of the zip and doing:

adb root
adb push nameof.img /sdcard/nameof.img
adb shell busybox dd if=/sdcard/nameof.img of=/dev/block/mmcblk0p13 bs=4096
adb reboot recovery


The zip may not have repackaged correctly. I was working on getting TWRP while I was messing with this, as I like TWRP more than CWM (personal preference).

*edit*
Yep. Just flashed the zip in the link you quoted. Overwrite twrp with cwm... so it definitely works. Only issue would be if the time still doesn't work cuz I stuck the wrong image in our something
 
Yeah... If you flashed the original one that I had posted... It was missing the recovery image, sorry about that. You'll have to flash it manually from within your rom now :s
I would have expected though that since the image was missing the edify script to flash it would have thrown an error and failed.

Both these links should work correctly and flash correctly. (Yes I know part of the printed text says "twrp" I share the zips and don't really want to re-upload one to fix the echo text on my phone's internet)

Dev-Host - Enhanced-Initd-vs920.zip - The Ultimate Free File Hosting / File Sharing Service

Dev-Host - Experimental-CWM-Time_mod.zip - The Ultimate Free File Hosting / File Sharing Service
 
Yeah... If you flashed the original one that I had posted... It was missing the recovery image, sorry about that. You'll have to flash it manually from within your rom now :s
I would have expected though that since the image was missing the edify script to flash it would have thrown an error and failed.

Both these links should work correctly and flash correctly. (Yes I know part of the printed text says "twrp" I share the zips and don't really want to re-upload one to fix the echo text on my phone's internet)

Dev-Host - Enhanced-Initd-vs920.zip - The Ultimate Free File Hosting / File Sharing Service

Dev-Host - Experimental-CWM-Time_mod.zip - The Ultimate Free File Hosting / File Sharing Service

So are you saying that I can't just flash the first one in CWM and then flash the second one in CWM in like I was doing before? Not really sure what flashing from within my rom actually means
 
It was 2:30am. No, I'm not sure. I flashed it, booted back into android, then rebooted to recovery and it booted back to android. ... It was late, I was was tired...
UPDATE:

So today I dd'd the copy of your first modded CMW (which I had on my SDCard and had never given me any problems), then went to reboot into recovery and... Android booted up again!

I was finally able to boot to CWM using Power/Vol-. Not sure what caused that, but it wasn't your fault, Yoinx.

I just cleared caches, flashed the new zips, rebooted, rebooted to recovery (it worked!), /cache/timemachine.old has the date/time of the reboot... Running a backup now to be sure, but it appears I'll be a happy camper! :D

UPDATE: Success!!!


CAVEAT: I mentioned cleaning caches. If you clean caches before performing a backup - this mod will not work! I only cleaned my caches in hopes that it would fix my *not rebooting to CWM* problem. After that, I rebooted to Android and again to recovery (without cleaning caches). I believe you can clean the dalvik-cache without affecting this, but not the regular cache.
 
So are you saying that I can't just flash the first one in CWM and then flash the second one in CWM in like I was doing before? Not really sure what flashing from within my rom actually means
If you can boot to ClockWorkMod, you can flash both ZIPs in the same session - no need to reboot between flashing each zip.

If you can't reboot into ClockWorkMod (presumably because you flashed the zip that was posted by mistake), then you'll have to use ADB to load the image onto the recovery partition manually. We'll cross that bridge if we have to.
 
recovery boot loop for time_mod....

You shouldn't get a recovery boot loop with this. It uses the same post boot script as the original one to 0 out p25 to fix that.

If you can adb run

adb shell sh /sbin/postrecoveryboot.sh

Just in case it didn't run.

You shouldn't recovery loop though unless you use the button combo.

Sent from my VS920 4G using Tapatalk 2
 
Yeah... If you flashed the original one that I had posted... It was missing the recovery image, sorry about that. You'll have to flash it manually from within your rom now :s
I would have expected though that since the image was missing the edify script to flash it would have thrown an error and failed.

Both these links should work correctly and flash correctly. (Yes I know part of the printed text says "twrp" I share the zips and don't really want to re-upload one to fix the echo text on my phone's internet)

Dev-Host - Enhanced-Initd-vs920.zip - The Ultimate Free File Hosting / File Sharing Service

Dev-Host - Experimental-CWM-Time_mod.zip - The Ultimate Free File Hosting / File Sharing Service

Just flashed these the same way I've been doing them (with CWM). I've been on the pacman boot animation for over 20 minutes. What now?

Edit: battery pull and reboot seems to have fixed it. About to do a nandroid and test time stamp...
 
Ok, just did all this again with new(?) files as posted. Still same 1970's time stamp. I'm starting to feel like the object of a joke. :D
 
Just flashed these the same way I've been doing them (with CWM). I've been on the pacman boot animation for over 20 minutes. What now?

Edit: battery pull and reboot seems to have fixed it. About to do a nandroid and test time stamp...

Man. I feel bad that so many people are having issues with these. Bodily it finally started working for you this time.

Personally I'm losing interest in messing with cwm as all you can do for the touch version is manipulate the image. So it just end up being hack jobs.


I'm going to flash both these again and see if it works for me. If it does, I don't know what else to say.

Sent from my VS920 4G using Tapatalk 2
 
Yeah... If you flashed the original one that I had posted... It was missing the recovery image, sorry about that. You'll have to flash it manually from within your rom now :s
I would have expected though that since the image was missing the edify script to flash it would have thrown an error and failed.

Both these links should work correctly and flash correctly. (Yes I know part of the printed text says "twrp" I share the zips and don't really want to re-upload one to fix the echo text on my phone's internet)

Dev-Host - Enhanced-Initd-vs920.zip - The Ultimate Free File Hosting / File Sharing Service

Dev-Host - Experimental-CWM-Time_mod.zip - The Ultimate Free File Hosting / File Sharing Service

Just flashed these the same way I've been doing them (with CWM). I've been on the pacman boot animation for over 20 minutes. What now?

Edit: battery pull and reboot seems to have fixed it. About to do a nandroid and test time stamp...


Yeah. I just flashed these again. Worked perfectly fine. Just for completeness sake... I'm going to flash a fresh rom, flash both of these files and make sure it works right. Because there's definitely something weird happening there.



Actually just to make absolutely certain...

You're using the reboot recovery option in the rom's power menu... correct? This mod wont trigger with any other method of booting into recovery (button combo, third party apps, etc)



*edit*

Yeah... I have no ideas left. I had the modified recovery installed from this last cycle of trying (from the download link I quoted) so I left it in place. I did a full wipe, even formatted my system partition to be certain. Flashed PAC RC1, Gapps, and the Enhanced init.d zip (from the download link I quoted). Rebooted system. Let it load up. Power Button > reboot > recovery. Time is correct.


I can't really help beyond that.
 
Ok, just did all this again with new(?) files as posted. Still same 1970's time stamp. I'm starting to feel like the object of a joke. :D
I can assure you that it worked for me!

Sorry if I missed it, but which ROM are you running, PrinceCorwin?

Also, let's rule out the obvious: How are you downloading the ZIPs to your phone - Is there any possibility that you're downloading the new ZIPs to one location and flashing an old version from another? [This has happened to me more times than I care to admit.] Check the file dates to be absolutely sure. [Again, more times than I care to admit!]
 
Back
Top Bottom