Old Q&A-Thread - This Thread will be split into multiple KB-Thread soon

pakidermo5000

Senior Member
Nov 13, 2011
342
379
0
Unlocked bootloader !!!

YES !!! BOOTLOADER UNLOCKED !!!

We have it !!

Yesterday I did something wrong, that's why the file was scrambled. But I fixed it, and now it's all for us !!!

I could only do it thanks to the indications found at Freaktab.com. So, all credits go to Mr. @Finless

Find the bootloader in the attachments.
 

Attachments

Last edited:
  • Like
Reactions: jereid

nwskipro

Senior Member
Jan 24, 2008
60
3
0
YES !!!

We have it !!

Yesterday I did something wrong, that's why the file was scrambled. But I fixed it, and now it's all for us !!!

Find the bootloader in the attachments.
Excitement - I love it! Just don't know exactly what to do with this... must do research... But big thanks to getting this - I'm assuming it's a big deal!

My unit ships on Friday so if anyone can point me in the direction of what to research that would be great. Webdude - I know you were working on reducing the launch/startup time and removing unnecessary crap. Anything else?
 

pakidermo5000

Senior Member
Nov 13, 2011
342
379
0
Excitement - I love it! Just don't know exactly what to do with this... must do research... But big thanks to getting this - I'm assuming it's a big deal!

My unit ships on Friday so if anyone can point me in the direction of what to research that would be great. Webdude - I know you were working on reducing the launch/startup time and removing unnecessary crap. Anything else?
Look of Freaktab.com for Finless thread. It's about 44 pages of thread. You will find everything you need there.


Just, if anyone had the idea to modify system from ext3 to ext4 in order to speed up things... /system is already ext4 ... still have to check whether /cache and /data are also ext4. But, I guess they are...


I am off, until next week.

Have fun !
 

nexgen10

Senior Member
Apr 7, 2014
54
5
0
Excitement - I love it! Just don't know exactly what to do with this... must do research... But big thanks to getting this - I'm assuming it's a big deal!

My unit ships on Friday so if anyone can point me in the direction of what to research that would be great. Webdude - I know you were working on reducing the launch/startup time and removing unnecessary crap. Anything else?
I wonder if people would be more prone to buy these if there were an american distributor. I'm thinking about buying 5 of these and putting them up for sale. Maybe even unlocking and rooting them before shipping. I've been talking to the mfg about volume pricing and shipping costs. It might be a worthy investment.
 

webdude12

Senior Member
Jun 22, 2007
217
52
0
Good job. An unlocked bootloader gives this unit so much flexibilty. Now twrp can be tweaked to allow "Custom" Roms

Things to do.

1. Add init.d support if not there.
2. Deoxed
3. Zip Align
4. Review startup process
5. Kernel Tweaks (Once have source)
6. Modify Partions for performance
7. General Performance tweaks (RAM, Cpu, Gpu)
8. Move all non-critical apps out of /system/apps

I'm still not a buyer of this unit though. The other unit I found, they are putting final tweaks on Android 4.2.2 and has two-way Canbus for the default apps (Radio, CD, MP3 Player). I have seen photos showing 4.2.2, but they said they are 15-20 days out and I'm waiting to order once its ready. If Keylo can have 1024*600 ready by the time I'm ready to order I will make that decision then.

---------- Post added at 03:05 AM ---------- Previous post was at 02:57 AM ----------

I wonder if people would be more prone to buy these if there were an american distributor. I'm thinking about buying 5 of these and putting them up for sale. Maybe even unlocking and rooting them before shipping. I've been talking to the mfg about volume pricing and shipping costs. It might be a worthy investment.
I was considering doing that exact thing. I was going to Root but not put the SuperUser app on it, as not to confuse users that have no idea what the app is or why its needed. Since its easy enough to download from the play store, it would be a non-issue.

But I have been playing with an android emulator at 800*480 resolution and as more and more apps are updated, this resolution is quickly becoming obsolute to the point this unit might as well have Android 2.3 on it restrict apps

I'm super excited about an unlocked bootloader on this radio as it might make developers pay these units more attention.
 

pakidermo5000

Senior Member
Nov 13, 2011
342
379
0
Can you give us a link to the thread? There is a lot there from Finless...
You can find everything here:
http://www.freaktab.com/showthread.php?287-RockChip-ROM-Building-Tips-and-Tricks-by-Finless/page2

It is very good and I learnt a lot. The problem is that you will ahve to read all the thread, because the info is quite scattered. Still, is the best source for total newbies, like me.



To unlock the bootloader, you have to use this:

1- Get webdude files, and take the files in there, boot.img.

Code:
dd if=boot.img of=bootimg.gz skip=8 bs=1 count=20000000
mkdir myboot
cd myboot/
sudo gunzip < ../bootimg.gz | sudo cpio -i --make-directories

### Now the bootloader is unlocked. Next lines tell you how to put it back into .img

 .. DO CUSTOM EDITS HERE ...

sudo find . -exec touch -d "1970-01-01 01:00" {} \;
sudo find . ! -name "." | sort | sudo cpio -oa -H newc | sudo gzip -n >../customboot.gz
cd ../
rkcrc -k customboot.gz customboot.img

<<BOOT TABLET INTO FLASH MODE>>

# write the new boot image
sudo rkflashtool w 0x00008000 0x00002000 < customboot.img

# optionally reboot now
sudo rkflashtool b
 

1-2-Hak

Senior Member
Feb 1, 2005
296
60
0
You can find everything here:
http://www.freaktab.com/showthread.php?287-RockChip-ROM-Building-Tips-and-Tricks-by-Finless/page2

It is very good and I learnt a lot. The problem is that you will ahve to read all the thread, because the info is quite scattered. Still, is the best source for total newbies, like me.



To unlock the bootloader, you have to use this:

1- Get webdude files, and take the files in there, boot.img.

Code:
dd if=boot.img of=bootimg.gz skip=8 bs=1 count=20000000
mkdir myboot
cd myboot/
sudo gunzip < ../bootimg.gz | sudo cpio -i --make-directories

### Now the bootloader is unlocked. Next lines tell you how to put it back into .img

 .. DO CUSTOM EDITS HERE ...

sudo find . -exec touch -d "1970-01-01 01:00" {} \;
sudo find . ! -name "." | sort | sudo cpio -oa -H newc | sudo gzip -n >../customboot.gz
cd ../
rkcrc -k customboot.gz customboot.img

<<BOOT TABLET INTO FLASH MODE>>

# write the new boot image
sudo rkflashtool w 0x00008000 0x00002000 < customboot.img

# optionally reboot now
sudo rkflashtool b
So the boot loader isnt actually locked - just have to strip the header and retouch the files to put back.

I recommend using the tools I posted to to make a full NAND backup of you rom before you play.
 

pakidermo5000

Senior Member
Nov 13, 2011
342
379
0
So the boot loader isnt actually locked - just have to strip the header and retouch the files to put back.

I recommend using the tools I posted to to make a full NAND backup of you rom before you play.
Yes, you are right. Technically speaking it is not locked. However, since you cannot mount it or unzip it straight away, it is "de facto" locked.


The first thing I will do is get a copy of my own system. And save it somewhere. Then, I will just unpack the and repack bootloader, and flash it, to see if there is any problem when doing that. Then, I can start modding.

I will use Rktools for all that.

My main aim is to reduce boot time. I am not an expert at all in modding ROMs, but a total newby. So I have no idea how to do that. At some point I will ask the devs of Ouku how they modified the original ROM to cut down the boot process to 15s. I think they moved some mounting process from boot to "after boot", and that saved some seconds.
 

jereid

Member
Mar 15, 2014
7
2
0
I ran into several apps like this. Which is why I am hunting for a 1024 x 600 screen. As phone screens get higher resolution, so will future apps.
Are there any apps that will work to mitigate some of these issues. Something along the lines of LCD Density Modder play.google.com/store/apps/details?id=com.birdapi.android.dpipro or similar? Do these work?
 

1-2-Hak

Senior Member
Feb 1, 2005
296
60
0
Yes, you are right. Technically speaking it is not locked. However, since you cannot mount it or unzip it straight away, it is "de facto" locked.


The first thing I will do is get a copy of my own system. And save it somewhere. Then, I will just unpack the and repack bootloader, and flash it, to see if there is any problem when doing that. Then, I can start modding.

I will use Rktools for all that.

My main aim is to reduce boot time. I am not an expert at all in modding ROMs, but a total newby. So I have no idea how to do that. At some point I will ask the devs of Ouku how they modified the original ROM to cut down the boot process to 15s. I think they moved some mounting process from boot to "after boot", and that saved some seconds.
I havent got my system yet to play :(

Keylo advises they are doing an update to the ODB2 so it works better so there is a delay for that.

Use those tools get a complete copy of your NAND and you will have something identical to go back too.

You can mount the system.img file and remove some of the bloat apps in there as well and do you own rom. Just be careful of the MTC ones they are the ones that talk to the MCU :)

Is there a change to init.rc we need to get TWRP working?
 

typos1

Senior Member
Apr 3, 2007
9,208
1,629
243
UK
I'm still not a buyer of this unit though. The other unit I found, they are putting final tweaks on Android 4.2.2 and has two-way Canbus for the default apps (Radio, CD, MP3 Player). I have seen photos showing 4.2.2, but they said they are 15-20 days out and I'm waiting to order once its ready. If Keylo can have 1024*600 ready by the time I'm ready to order I will make that decision then.



I m not a buyer of it either, but have been avidly following this thread, the AN-21U one and the WD-8801 one for months, trying to decide which to buy, now that the bootloader is unlocked, this one seems to be edging ahead. Which is the other unit youre referring to, webdude ?
 

pakidermo5000

Senior Member
Nov 13, 2011
342
379
0
I havent got my system yet to play :(

Keylo advises they are doing an update to the ODB2 so it works better so there is a delay for that.

Use those tools get a complete copy of your NAND and you will have something identical to go back too.

You can mount the system.img file and remove some of the bloat apps in there as well and do you own rom. Just be careful of the MTC ones they are the ones that talk to the MCU :)

Is there a change to init.rc we need to get TWRP working?

ODB2 ? torque ? you mean?

yes, that is what I will do. Keep an original copy, so i can always get back. Anyway, recovery.img should also be that, but just for security I will save everything.


I know theres a CWM working for RK3066, but I also read somewhere that ROMs will not be able to be installed on RK chips via CWM (I think because of the kernel)


Wasn't TWRP working, according to webdude?

PS: there is not a lot of bloatware, just a couple of apps i will remove, and I will also include mine in there as well as update the ones that are there already.
 

Zaphod-Beeblebrox

Senior Member
Dec 3, 2009
1,426
862
0
Virginia
I think I may have found the first of these that are available on E-bay. I'm just not yet comfortable buying from Alibaba/express yet. While this is still coming from China, I feel a little better with E-bay protection policies

http://www.ebay.com/itm/251502162400?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649

This one has a face-plate I've not seen before, and there are some inconsistencies in the screen shots, but I think this is a HuiFei unit.
 

nwskipro

Senior Member
Jan 24, 2008
60
3
0
I'm still not a buyer of this unit though. The other unit I found, they are putting final tweaks on Android 4.2.2 and has two-way Canbus for the default apps (Radio, CD, MP3 Player). I have seen photos showing 4.2.2, but they said they are 15-20 days out and I'm waiting to order once its ready. If Keylo can have 1024*600 ready by the time I'm ready to order I will make that decision then.
What unit is this? I'm guessing it is vehicle specific? Any other details?
 

webdude12

Senior Member
Jun 22, 2007
217
52
0
TWRP loads, you just can't mount any of the partitions, so its basically worthless. I. E. Can't do backups, flash zips, etc. There is a 800x480 one floating around, and this is the one I took a picture of

---------- Post added at 10:36 PM ---------- Previous post was at 10:32 PM ----------

What unit is this? I'm guessing it is vehicle specific? Any other details?
The unit I found, the y only have Audi, BMW, and supposily 1 universal unit (But I haven't seen it yet). I'm nor going to post links yet as you can buy it today with 4.1, I want to see if they hold true to 4.2.2 and proving key too unlock bootloader
 

nwskipro

Senior Member
Jan 24, 2008
60
3
0
The unit I found, the y only have Audi, BMW, and supposily 1 universal unit (But I haven't seen it yet). I'm nor going to post links yet as you can buy it today with 4.1, I want to see if they hold true to 4.2.2 and proving key too unlock bootloader
Cool cool - keeping an eye on this